package com.example.dao;

import com.example.model.CouponTemplate;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CouponTemplateMapper {
    /**
     */
    long countByExample(CouponTemplate example);

    /**
     */
    int deleteByExample(CouponTemplate example);

    /**
     */
    int deleteByPrimaryKey(Integer id);

    /**
     */
    int insert(CouponTemplate record);

    /**
     */
    int insertSelective(CouponTemplate record);

    /**
     */
    List<CouponTemplate> selectByExample(CouponTemplate example);

    /**
     */
    CouponTemplate selectByPrimaryKey(Integer id);

    /**
     */
    int updateByExampleSelective(@Param("record") CouponTemplate record, @Param("example") CouponTemplate example);

    /**
     */
    int updateByExample(@Param("record") CouponTemplate record, @Param("example") CouponTemplate example);

    /**
     */
    int updateByPrimaryKeySelective(CouponTemplate record);

    /**
     */
    int updateByPrimaryKey(CouponTemplate record);
}